﻿using System;
using System.Collections.Generic;
using System.Text;

namespace GGSharp.Radio
{
    public class ErrorResponse : RDSResponseBase
    {
        public ErrorResponse(RequestInfo request)
        {
            this.Type = ResponseType.Error;
            this.Request = request;
        }

        public override void Read(string response)
        {
            //0;1;Podana wersja Winampa jest błędna.;
            string[] values = response.Split(';');
            this.RDSText = values[2];
        }
    }
}
